<template>
	<div class="topBtn">
		<uni-icons @click="Back()" type="back" size="26" color='#fff'></uni-icons>
		{{title}}
	</div>
	
</template>

<script>
	export default {
		props: ["title"],
		data() {
			return {}
		},
		
		created() {

		},
		methods: {
			Back(){
				//uni.navigateBack()//默认delta:1
				uni.navigateBack({
					delta:1,//返回层数，2则上上页
				})
			},

		}
	}
</script>

<style lang="less" scopde>
	.topBtn {
		display: flex;
		align-items: center;
		font-size: 36rpx;
		font-weight: 400;
		color: #FFFFFF;
		margin-left: 22rpx;
	}
</style>